
        <div class="form-add">
        	<?php admin_msg( $msg ); ?>
    		<form name="myform" action="<?php echo admin_link( 'advertise/add' ) ?>" method="post">
            	<table width="100%">
            		<tr>
                        <td width="120">Tên banner</td>
                        <td><input type="text" name="name" value="" maxlength="255" class="text" /></td>
            		</tr>
                    <tr>
                        <td>Liên kết</td>
                        <td><input type="text" name="link" value="http://" maxlength="255" class="text" /></td>
            		</tr>
                    <tr>
                		<td>Mô tả ngắn</td>
                		<td><textarea name="description" class="text textarea2" cols="10" rows="10"></textarea></td>
            		</tr>              		                
                    <?php 					
						$image = isset( $_POST['pic'] ) ? htmlspecialchars( $_POST['pic'] ) : '';
						admin_box_img( $image ) ;					
					?>                     
                    <tr>
                		<td>Chiều rộng</td>
                		<td><input type="text" name="width" value="0" maxlength="255" class="text text-numb" /> px</td>
            		</tr>   
                    <tr>
                		<td>Chiều cao</td>
                		<td><input type="text" name="height" value="0" maxlength="255" class="text text-numb" /> px</td>
            		</tr>
                    <tr>
                        <td colspan="2" class="h4">Tùy chọn</td>
                    </tr>
                    <tr>
                        <td>Vị trí</td>
                        <td>
                            <p>
                                <input type="radio" name="place" value="0" /> <span>Trên đầu</span>
                                <input type="radio" name="place" value="1" /> <span>Bên phải</span>
                                <input type="radio" name="place" value="3" checked="checked" /> <span>Bên trái</span>
                                <input type="radio" name="place" value="2" /> <span>Phía dưới</span>
                                <input type="radio" name="place" value="4" /> <span>Chính giữa</span>
                             </p>
                        </td>
                    </tr>
                    <tr>
                        <td>Hiển thị</td>
                        <td>
                            <p>
                                <input type="radio" name="status" value="1" checked="checked" /> <span>Có</span>
                                <input type="radio" name="status" value="0" /> <span>Không</span>
                            </p>
                        </td>
                    </tr>         
                    <tr>
                        <td></td>
                        <td><input type="submit" name="submit" value="Thêm banner" class="button" /> <input type="reset" name="reset" value="Làm lại" class="button" /></td>
                    </tr>
                </table>
                
            </form>
		</div>